package com.jy.adscm.operation.mscyb.service;

import com.jy.adscm.exception.AdscmSystemException;
import com.jy.adscm.operation.mscyb.bean.JqylMaterialdetail;
import com.baomidou.mybatisplus.service.IService;
import com.jy.adscm.operation.mscyb.bean.MaterialCheck;
import com.jy.adscm.security.utils.Token;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zyl
 * @since 2018-11-29
 */
public interface JqylMaterialdetailService extends IService<JqylMaterialdetail> {

    Boolean updateLjzzPartsmadedetail(JqylMaterialdetail jqylMaterialdetail);

    List<JqylMaterialdetail> selectByTid(String tid);
     List<JqylMaterialdetail>  selectUnqualifiedMaterial();
    boolean insertJqylMaterialdetail(JqylMaterialdetail jqylMaterialdetail, Token token) throws AdscmSystemException;

    MaterialCheck selectUnqualifiedMaterialCheck(String id);

    List<JqylMaterialdetail> selectUnDeal();

    List<JqylMaterialdetail> selectDeal();

    Boolean updateUnqualified(JqylMaterialdetail jqylMaterialdetail) throws AdscmSystemException;

    boolean jqylMaterialdetailToShylMaterial(JqylMaterialdetail jqylMaterialdetail, Token token)throws AdscmSystemException;
}
